package com.class06.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "dog")
public class Dog {
//    名字
    private String name;
//    年龄
    private int age;
//    颜色
    private String color;
//    品种
    private String kinds;

}
